import { z } from 'zod';
import { hexColor } from './hexColor.js';
export const gradientSchema = z.object({
    from: hexColor,
    via: hexColor.optional(),
    to: hexColor,
});
export const anchorColorSchema = z.union([hexColor, gradientSchema.strict()]);
